package com.frank.stock4j.tusharepro.bean;

import com.frank.stock4j.tusharepro.BaseBean;
import com.frank.stock4j.tusharepro.http.BaseRequestParam;

/**
* 描述：获取上市公司公告数据及原文文本，数据从2000年开始，内容很大，请注意数据调取节奏。
* @author: codesmith
**/
public interface AnnsBean extends BaseBean {
    String API_NAME = "anns";
    
    interface Fields {
    String ts_code = "ts_code";    //股票代码
    String ann_date = "ann_date";    //公告日期
    String ann_type = "ann_type";    //公告类型
    String title = "title";    //公告标题
    String content = "content";    //公告内容
    String pub_time = "pub_time";    //公告发布时间
    }
    
    interface Params {
        ts_code ts_code = new ts_code();
        /*
        * 股票代码
        */
        class ts_code extends BaseRequestParam {
            { key = "ts_code"; }
        }
        ann_date ann_date = new ann_date();
        /*
        * 公告日期
        */
        class ann_date extends BaseRequestParam {
            { key = "ann_date"; }
        }
        start_date start_date = new start_date();
        /*
        * 公告开始日期
        */
        class start_date extends BaseRequestParam {
            { key = "start_date"; }
        }
        end_date end_date = new end_date();
        /*
        * 公告结束日期
        */
        class end_date extends BaseRequestParam {
            { key = "end_date"; }
        }
    }
}